<div class="panel panel-box">
    <div class="panel-heading">
        <h3 class="panel-title long-back">
            <span class="text-title">国家教学团队</span>
            <a class="pull-right" href="<?php echo Yii::app()->createUrl('teacher/index'); ?>">更多</a>
        </h3>
    </div>
    
    <div class="panel-body">
            <?php foreach ($this->teachers as $teacher) : ?>
            <div class="teacher-item row">
                <div class="teacher-img col-xs-5">
                     <?php if(CHtml::encode($teacher->brief) == ""):?>
                     <img src="<?php echo Yii::app()->baseUrl.'/images/default_user.png';?>" alt="" />
                    <?php else:?>
                     <img src="<?php echo Yii::app()->baseUrl .'/' .$teacher->brief;?>" alt="" />
                    <?php endif;?>
                </div>
                <div class="teacher-info col-xs-7">
                    <div>
                        姓名：<a href="<?php echo Yii::app()->createUrl('teacher/view/'. $teacher->teacher_id); ?>"><?php echo $teacher->teacher_name; ?></a>
                    </div>
                    <div>
                        职称：<?php echo $teacher->technical_position; ?>
                    </div>
                    <div>
                        学位：<?php echo $teacher->degree; ?>
                    </div>
                </div>
            </div>
            <?php endforeach; ?>
    </div>
    
</div>